From cf31cfc2746124b6980c31a9c969bd9461db29ca Mon Sep 17 00:00:00 2001 From: "smh22@firebug.cl.cam.ac.uk" Date: Thu, 24 Nov 2005 16:30:40 +0100 Subject: [PATCH] Quiet down live migrate on PAE domains. Signed-off-by: Steven Hand --- xen/arch/x86/audit.c | 7 ------- xen/include/asm-x86/shadow.h | 8 ++------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/xen/arch/x86/audit.c b/xen/arch/x86/audit.c index f63c7905aa..16fda1ef6f 100644 --- a/xen/arch/x86/audit.c +++ b/xen/arch/x86/audit.c @@ -472,13 +472,6 @@ int audit_adjust_pgtables(struct domain *d, int dir, int noisy) errors++; } - if ( (page->u.inuse.type_info & PGT_pinned) != PGT_pinned ) - { - printk("Audit %d: L2 mfn=%lx not pinned t=%" - PRtype_info "\n", - d->domain_id, mfn, page->u.inuse.type_info); - errors++; - } } } diff --git a/xen/include/asm-x86/shadow.h b/xen/include/asm-x86/shadow.h index d413035468..84ad6a1a94 100644 --- a/xen/include/asm-x86/shadow.h +++ b/xen/include/asm-x86/shadow.h @@ -343,19 +343,15 @@ extern int shadow_status_noswap; #define SHADOW_REFLECTS_SNAPSHOT _PAGE_AVAIL0 #endif -#ifdef VERBOSE +#if SHADOW_VERBOSE_DEBUG #define SH_LOG(_f, _a...) \ printk("DOM%uP%u: SH_LOG(%d): " _f "\n", \ current->domain->domain_id , current->processor, __LINE__ , ## _a ) -#else -#define SH_LOG(_f, _a...) ((void)0) -#endif - -#if SHADOW_VERBOSE_DEBUG #define SH_VLOG(_f, _a...) \ printk("DOM%uP%u: SH_VLOG(%d): " _f "\n", \ current->domain->domain_id, current->processor, __LINE__ , ## _a ) #else +#define SH_LOG(_f, _a...) ((void)0) #define SH_VLOG(_f, _a...) ((void)0) #endif -- 2.30.2